package com.lgr.store.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lgr.store.dao.SystemLogDAO;
import com.lgr.store.utils.PageObject;
import com.lgr.store.vo.SystemlogVo;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SystemLogService {
    @Resource
    private SystemLogDAO systemLogDAO;
    @Transactional
    public List<SystemlogVo> list(PageObject pager,SystemlogVo systemlogVo){

        return systemLogDAO.list(pager,systemlogVo);
    }
    @Transactional
    public int getCount(SystemlogVo systemlogVo){

        return systemLogDAO.getCount(systemlogVo);
    }
}
